package com.ruoyi.domain;

import com.ruoyi.common.annotation.Excels;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 维保项目创建对象 mt_pro_build
 * 
 * @author ruoyi
 * @date 2020-07-04
 */
public class MtProBuild extends BaseEntity
{
    private static final long serialVersionUID = 1L;
//    /** 维保项目合同 */
//    @Excels({
//            @Excel(name = "合同名称", targetAttr = "mtContractName", type = Excel.Type.EXPORT),
//            @Excel(name = "维保费用金额", targetAttr = "mtPrice", type = Excel.Type.EXPORT),
//            @Excel(name = "付款方式", targetAttr = "mtPayMethod", type = Excel.Type.EXPORT),
//            @Excel(name = "维保合同起始日期", targetAttr = "mtContractDate", type = Excel.Type.EXPORT)
//
//    })
//    private MtContact mtContact;
//    /** 维保项目金额*/
//    @Excels({
//            @Excel(name = "维保费总金额", targetAttr = "mtCostPrice", type = Excel.Type.EXPORT),
//            @Excel(name = "维保费已支付金额", targetAttr = "mtCostPaid", type = Excel.Type.EXPORT),
//            @Excel(name = "维保费支付日期", targetAttr = "mtCostDate", type = Excel.Type.EXPORT),
//            @Excel(name = "维保费未支付金额", targetAttr = "mtCostUnpaid", type = Excel.Type.EXPORT)
//    })
//    private MtPrice mtPrice;
//
//    public MtContact getMtContact() {
//        return mtContact;
//    }
//
//    public void setMtContact(MtContact mtContact) {
//        this.mtContact = mtContact;
//    }
//
//    public MtPrice getMtPrice() {
//        return mtPrice;
//    }
//
//    public void setMtPrice(MtPrice mtPrice) {
//        this.mtPrice = mtPrice;
//    }

    /** 主键id */
    private Long mtId;

    /** 维保项目名称 */
    @Excel(name = "维保项目名称")
    private String mtProName;

    /** 维保项目地址 */
    @Excel(name = "维保项目地址")
    private String mtProAdress;

    /** 维保项目面积 */
    @Excel(name = "维保项目面积")
    private String mtProArea;

    /** 维保项目高度 */
    @Excel(name = "维保项目高度")
    private String mtProHeight;

    /** 维保项目层数 */
    @Excel(name = "维保项目层数")
    private String mtProLayers;

    public Date getMtProDate() {
        return mtProDate;
    }

    public void setMtProDate(Date mtProDate) {
        this.mtProDate = mtProDate;
    }

    /** 项目创建时间 */
    @Excel(name = "项目创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mtProDate;

    /** 维保项目使用性质 */
    @Excel(name = "维保项目使用性质")
    private String mtProNature;

    /** 甲方消防负责人姓名 */
    @Excel(name = "甲方消防负责人姓名")
    private String mtPrincipalName;

    /** 甲方消防负责人联系方式 */
    @Excel(name = "甲方消防负责人联系方式")
    private String mtPrincipalPhone;

    /** 维保机构 */
    @Excel(name = "维保机构")
    private String mtOrganization;

    public void setMtId(Long mtId) 
    {
        this.mtId = mtId;
    }

    public Long getMtId() 
    {
        return mtId;
    }
    public void setMtProName(String mtProName) 
    {
        this.mtProName = mtProName;
    }

    public String getMtProName() 
    {
        return mtProName;
    }
    public void setMtProAdress(String mtProAdress) 
    {
        this.mtProAdress = mtProAdress;
    }

    public String getMtProAdress() 
    {
        return mtProAdress;
    }
    public void setMtProArea(String mtProArea) 
    {
        this.mtProArea = mtProArea;
    }

    public String getMtProArea() 
    {
        return mtProArea;
    }
    public void setMtProHeight(String mtProHeight) 
    {
        this.mtProHeight = mtProHeight;
    }

    public String getMtProHeight() 
    {
        return mtProHeight;
    }
    public void setMtProLayers(String mtProLayers) 
    {
        this.mtProLayers = mtProLayers;
    }

    public String getMtProLayers() 
    {
        return mtProLayers;
    }
    public void setMtProNature(String mtProNature) 
    {
        this.mtProNature = mtProNature;
    }

    public String getMtProNature() 
    {
        return mtProNature;
    }
    public void setMtPrincipalName(String mtPrincipalName) 
    {
        this.mtPrincipalName = mtPrincipalName;
    }

    public String getMtPrincipalName() 
    {
        return mtPrincipalName;
    }
    public void setMtPrincipalPhone(String mtPrincipalPhone) 
    {
        this.mtPrincipalPhone = mtPrincipalPhone;
    }

    public String getMtPrincipalPhone() 
    {
        return mtPrincipalPhone;
    }
    public void setMtOrganization(String mtOrganization) 
    {
        this.mtOrganization = mtOrganization;
    }

    public String getMtOrganization() 
    {
        return mtOrganization;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mtId", getMtId())
            .append("mtProName", getMtProName())
            .append("mtProAdress", getMtProAdress())
            .append("mtProArea", getMtProArea())
            .append("mtProHeight", getMtProHeight())
            .append("mtProLayers", getMtProLayers())
            .append("mtProNature", getMtProNature())
            .append("mtPrincipalName", getMtPrincipalName())
            .append("mtPrincipalPhone", getMtPrincipalPhone())
            .append("mtOrganization", getMtOrganization())
                .append("mtProDate",getMtProDate())
//                .append("mtPrice",getMtPrice())
//                .append("mtContact",getMtContact())
            .toString();
    }
}
